package com.txts.road.app.event.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.txts.road.app.event.model.entity.EventRegistrationEntity;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.txts.road.app.event.model.query.EventRegistrationQuery;
import com.txts.road.app.event.model.vo.EventRegistrationVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 赛事报名Mapper接口
 *
 * @author baoyr
 * @since 2025-07-17 10:46
 */
@Mapper
public interface EventRegistrationMapper extends BaseMapper<EventRegistrationEntity> {

    /**
     * 获取赛事报名分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return {@link Page<EventRegistrationVO>} 赛事报名分页列表
     */
    Page<EventRegistrationVO> getEventRegistrationPage(Page<EventRegistrationVO> page, EventRegistrationQuery queryParams);

}
